using Universal.Application.Contracts.Common;
using Universal.Application.Contracts.Dto.Log;

namespace Universal.Application.Repositories;

public interface ILogService
{
    Task WriteLogAsync(string action);

    Task<ApiResponse<PagedResult<LogViewDto>>> GetLogsPagedAsync(int pageIndex, int pageSize);

    Task<ApiResponse<PagedResult<LogViewDto>>> QueryLogsAsync(LogQueryDto queryDto);
}

